package com.lancer.cloud.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * 授权服务启动类
 *
 * @author caijinbang
 * @date 2019-06-15
 */
@EnableFeignClients
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = {"com.lancer.cloud.common","com.lancer.cloud.auth"})
public class LancerAuthApplication {

    public static void main(String[] args) {
        SpringApplication.run(LancerAuthApplication.class, args);
    }

}
